<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文件上传页面</title>
    <style>
        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #333;
        }

        .navbar {
            background-color: #ffffff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar .logo {
            font-size: 1.75rem;
            font-weight: bold;
            color: #0084ff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .navbar .logo:hover {
            color: #0066cc;
            transform: scale(1.05);
        }

        .navbar .buttons {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .navbar .button {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            color: #fff;
            background-color: #0084ff;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .navbar .button:hover {
            background-color: #0066cc;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .search-box input {
            padding: 0.75rem 1.25rem;
            border: 2px solid #dee2e6;
            border-radius: 6px;
            width: 300px;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .search-box input:focus {
            border-color: #0084ff;
            box-shadow: 0 0 0 0.2rem rgba(0,132,255,.25);
            outline: none;
        }

        .dropdown-content {
            background-color: #ffffff;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
            padding: 0.5rem 0;
        }

        .dropdown-item {
            padding: 0.75rem 1.5rem;
            color: #333;
            text-decoration: none;
            display: block;
            transition: background-color 0.3s ease;
        }

        .dropdown-item:hover {
            background-color: #f8f9fa;
            color: #0084ff;
        }

        .content-container {
            max-width: 700px;
            margin: 3rem auto;
            padding: 2.5rem;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.08);
        }

        {#upload页面#}

        .form-group {
            margin-bottom: 2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 500;
            color: #495057;
        }

        .form-control {
            width: 70%;
            padding: 0.75rem 1.25rem;
            font-size: 1rem;
            border: 2px solid #dee2e6;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .form-control:disabled {
            background-color: #f8f9fa;
            cursor: not-allowed;
        }

        .custom-file {
            margin-bottom: 2.5rem;
            position: relative;
            width: 70%;
        }

        .custom-file-input {
            position: relative;
            width: 100%;
            height: calc(1.5em + 1.5rem + 2px);
            opacity: 0;
        }

        .custom-file-label {
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            padding: 0.75rem 1.25rem;
            font-weight: 400;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            border: 2px solid #dee2e6;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .custom-file-label::after {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            padding: 0.75rem 1.25rem;
            color: #fff;
            content: "浏览";
            background-color: #0084ff;
            border-left: inherit;
            border-radius: 0 6px 6px 0;
        }

        .btn-primary {
            background-color: #0084ff;
            border: none;
            padding: 0.75rem 2rem;
            font-size: 1.1rem;
            font-weight: 500;
            border-radius: 6px;
            transition: all 0.3s ease;
            width: auto;
            margin-top: 2rem;
            cursor: pointer;
        }

        .btn-primary:hover {
            background-color: #0066cc;
            color: #fff;
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0,132,255,0.2);
        }

        @media (max-width: 768px) {
            .content-container {
                margin: 2rem 1rem;
                padding: 1.5rem;
            }
            
            .navbar {
                padding: 0.75rem 1rem;
                flex-direction: column;
                gap: 1rem;
            }

            .navbar .buttons {
                flex-wrap: wrap;
                justify-content: center;
                gap: 1rem;
            }

            .search-box input {
                width: 100%;
                min-width: 200px;
            }

            .form-group {
                margin-bottom: 1.5rem;
            }
        }
    </style>
</head>
<body>
<div class="navbar">
    <a href="" class="logo">WiPAS</a>
    <div class="buttons">
        <a href="/order/list" class="button">Home</a>
        <a href="/zhixue" class="button">Team</a>
        <a href="/explore" class="button">Project</a>
        <div class="search-box">
            <input type="text" placeholder="搜索文件..." class="form-control">
        </div>
    </div>
    <div class="description">
        <div class="dropdown">
            <button class="btn btn-primary dropbtn">{{ user }}</button>
            <div class="dropdown-content">
                <a href="/login" class="dropdown-item">退出登录</a>
            </div>
        </div>
    </div>
</div>

<div class="content-container">
    <form>
        <h3 style="margin-bottom: 2rem; color: #333; font-weight: 600;">文件上传</h3>
        <div class="custom-file">
            <input type="file" class="custom-file-input" id="customFile">
            <label class="custom-file-label" for="customFile">选择文件</label>
        </div>
        
        <div class="form-group">
            <label>文件名</label>
            <input type="text" class="form-control" placeholder="文件名将自动填充" disabled>
        </div>
        
        <div class="form-group">
            <label>文件类型</label>
            <input type="text" class="form-control" placeholder="文件类型将自动识别" disabled>
        </div>
        
        <div class="form-group">
            <label>上传时间</label>
            <input type="text" class="form-control" placeholder="上传时间将自动记录" disabled>
        </div>
        
        <div class="form-group">
            <label>上传人员</label>
            <input type="text" class="form-control" placeholder="当前登录用户" disabled>
        </div>
        
        <div class="form-group">
            <label>专案</label>
            <select class="form-control">
                <option selected>选择专案...</option>
                <option>专案 A</option>
                <option>专案 B</option>
                <option>专案 C</option>
            </select>
        </div>
        
        <div class="form-group">
            <label>分组</label>
            <select class="form-control">
                <option selected>选择分组...</option>
                <option>分组 1</option>
                <option>分组 2</option>
                <option>分组 3</option>
            </select>
        </div>

        <button type="submit" class="btn btn-primary">提交</button>
    </form>
</div>

</body>
</html>